package classes
{
	import mx.containers.Canvas;
	
	
	public class Stripe 
	{
		[Bindable]
		public var column:Column;
		
		[Bindable]
		public var y:int;
		
		protected var hl:Boolean = false;
		[Bindable]
		public function  set highlighted(v:Boolean):void{
			trace("highlited "+v+" "+this.getUID());
			this.hl = v;
			}
		public function  get highlighted():Boolean{return this.hl;}
		
		//private var vObj:Column;
		
		public var visited:Boolean = false;
		
		public function Stripe( column:Column, y:int ){
			this.column = column;
			this.y = y;
		}
		
		
		public function getUID():String{
			return this.column.x + "-" + this.y;
		}
		
	}
}